package com.mdd.common.validate.card;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 卡片参数
 *
 * @author LikeAdmin
 */
@Data
@ApiModel("卡片更新参数")
public class CardRechargeValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @NotNull(message = "充值金额不能为空")
    @ApiModelProperty(value = "充值金额")
    private BigDecimal rechargeAmount;

    @ApiModelProperty(value = "赠送金额")
    private BigDecimal giftAmount;

    @ApiModelProperty(value = "备注")
    private String shopRemark;

    @ApiModelProperty(value = "状态:1-启用;0-停用;")
    private Integer status;

}
